docker stop es
docker rm es
docker run \
--privileged=true \
--restart=always \
--name es \
-p 9200:9200 \
-p 9300:9300 \
-v /docker/elasticsearch/data:/usr/share/elasticsearch/data \
-e discovery.type=single-node \
-d elasticsearch:6.8.13

